#!/usr/bin/python3

import sys

str = sys.argv[1]

arr = str.split('*')
stars = len(arr)-1

result = '*' * stars + ''.join(arr)
print(result)
